const express = require('express')
const app = express()

// http://localhost:8000/image/load.jpg
// 内置中间件,静态文件托管
app.use(express.static('public'))

app.listen('8000', 'localhost')